package com.acme.bankapp.domain.bank.accounts;

import java.io.Serializable;

import com.acme.bankapp.domain.bank.exceptions.NotEnoughFundsException;

public interface Account extends Serializable {
	public void deposit(double x);
	public void withdraw(double x) throws NotEnoughFundsException;
	public double getBalance();
	public double maximalAmountToWithdraw();
	public long decimalValue();
}
